import constructRouter from "@shared/router";
import { staticRouter } from "./modules/staticRouter";

// 引入 views 文件夹下所有 vue 文件
const modules = import.meta.glob("@/views/**/*.vue");

const { router } = constructRouter(false, "/cookbook/", staticRouter, modules);

export default router;
